<?php
namespace Home\Controller\V1;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	$list = M('User')->order("user_id asc")->select();
    	$list2 = M('Wx')->select();
    	//dump($list);
    }

    public function test(){
    	dump($_GET."1");
    	$tool = new \Util\RegexTool();
    	$result = $tool->isNotEmpty('gg');
    	dump($result);
    }

    /** 
	 *  
	 * 验证码生成 
	 */  
	public function verify(){  
	    $Verify = new \Think\Verify();  
	    $Verify->fontSize = 18;  
	    $Verify->length   = 4;  
	    //$Verify->useNoise = false;  
	    $Verify->codeSet = '0123456789';  
	    //$Verify->imageW = 130;  
	    //$Verify->imageH = 50;  
	    //$Verify->expire = 600;  
	    $Verify->entry();  
	}
}